package com.winter.mapper;

import com.winter.model.AreaCode;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AreaCodeMapper {
    int insert(AreaCode record);

    int insertSelective(AreaCode record);

    List<AreaCode> list(@Param("type") Integer type, @Param("superId") Long superId);
    
    AreaCode selectByPrimaryKey(Long id);
    
}